<form action="<?php echo base_url() . "cadastro/adicionar";?>" method="post" enctype="multipart/form-data" id="form">
	<table>
		<tr>
			<td>
				<select name="intSubcategoria">
					<option value="0" selected="selected">Selecione uma SubCategoria..</option>
					<?php foreach ($dados['categorias'] as $categoria) { ?>
					<option value="0" style="color: red;"><?php echo "-- ".$categoria->cat_descricao." --";?></option>
						<?php foreach ($categoria->subcategoria as $subcategoria) { ?>
						<option value="<?php echo $subcategoria->sub_id;?>"><?php echo $subcategoria->sub_descricao;?></option>
						<?php } ?>
					<?php } ?>
				</select>
			</td>
		</tr>
		<tr>
			<td>
				<label>Titulo:</label>
				<input type="text" id="strTitulo" name="strTitulo" />
			</td>
		</tr>
		<tr>
			<td>
				<label>Conteudo:</label>
				<input type="text" id="strConteudo" name="strConteudo" />
			</td>
		</tr>
		<tr>
			<td>
				<label>Tag:</label>
				<input type="text" id="strTag" name="strTag" />
			</td>
		</tr>
		<tr>
			<td>
				<label>Facebook:</label>
				<input type="text" id="strFacebook" name="strFacebook" />
			</td>
		</tr>
		<tr>
			<td>
				<label>Twitter:</label>
				<input type="text" id="strTwitter" name="strTwitter" />
			</td>
		</tr>			
	</table>
	
	<input type="submit" id="bt_adicionar" name="bt_adicionar" value="Adicionar" />
</form>